package gossip.v1;

// 调整参数以适应不同环境
public class GossipConfig {
    public static int GOSSIP_INTERVAL = 500; // 消息传播间隔(ms)
    public static int FAILURE_DETECTION_INTERVAL = 1000; // 故障检测间隔(ms)
    public static long SUSPECT_THRESHOLD = 3000; // 节点怀疑阈值(ms)
    public static int MAX_GOSSIP_TARGETS = 3; // 每次传播目标数

    public static final int INDIRECT_CHECK_COUNT = 2;
    public static final int MAX_SESSION_QUEUE = 1000;
}